package com.steak.spring.event;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

/**
 * @author 刘牌
 * @Title:
 * @date 2022-04-2318:58
 */
@Getter
@Setter
public class OrderEvent<T> extends ApplicationEvent {

    private T t;

    public OrderEvent(Object source, T t) {
        super(source);
        this.t = t;
    }
}
